<?php /* Smarty version Smarty-3.1.7, created on 2012-04-24 18:18:04
         compiled from "./templates/header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:11631519754f96c7e414f076-30515191%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '97c13ae6868bbc459509c9f1b968154acd23eecc' => 
    array (
      0 => './templates/header.tpl',
      1 => 1335284281,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '11631519754f96c7e414f076-30515191',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_4f96c7e416147',
  'variables' => 
  array (
    'script' => 0,
    'authenticated' => 0,
    'ac' => 0,
    'SystemAdministrator' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f96c7e416147')) {function content_4f96c7e416147($_smarty_tpl) {?><!DOCTYPE html>
<html lang="no">
    <head>
    	<title>TeamPlayers</title>
    	<meta charset="UTF-8" />
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <link href="/css/reset.css" rel="stylesheet" type="text/css" />
		<link href="/css/jquery-ui-TP.custom/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" />
		<link href="/css/mainstyles.css" rel="stylesheet" type="text/css" />
		<link href="/css/forms.css" rel="stylesheet" type="text/css" />
		<script src="/lib/js/jquery-1.7.1.min.js"></script>
		<script src="/lib/js/jquery-ui-1.8.18.custom.min.js"></script>
		
		<?php if (isset($_smarty_tpl->tpl_vars['script']->value)){?>
		<script src="<?php echo $_smarty_tpl->tpl_vars['script']->value;?>
"></script>
		<?php }?>
		
    </head>

<body>
<!-- main and wrap seems a bit redundant, but this is to enable the sticky footer hack -->
<div id="wrap">
	<div id="main">
	
	<div id="topLinks">
		<p>
			<a href="#">Link 1</a> 
			<a href="#">Link 2</a> 
			<a href="#">Link 3</a>
		</p>
	</div>
	
		<div id="header">
		</div>
		<div id="loginForm">
		<?php if ($_smarty_tpl->tpl_vars['authenticated']->value){?>
			<p><a href="/profile"><?php echo $_smarty_tpl->tpl_vars['ac']->value->name;?>
</a> (<a href="/authentication/logout">Logout</a>)</p>
		<?php }else{ ?>
			<p><a href="/authentication/loginScreen">Log in</a> or <a href="/authentication/registerUser">register new user</a></p>
			
		<?php }?>
			</div>
	
		<div id="menu">
		<h3>Menu</h3>
			<ul>
				<li><a href="/">Home</a></li>
				<li><a href="/about">About the club</a></li>
				<li><a href="#">Practice times</a></li>
				<li><a href="#">Teams</a></li>
				<li><a href="#">Calendar</a></li>
				<li><a href="#">Pictures</a></li>
				<li><a href="#">The board</a></li>
				<li><a href="#">Links</a></li>
			</ul>
		
			
		<h3>Tools</h3>
			<ul>
				<li><a href="/">Your calendar</a></li>
				
			</ul>
			
		<?php if ($_smarty_tpl->tpl_vars['SystemAdministrator']->value){?>
		<h3>Administrative</h3>
			<ul>
				<li><a href="/settings">Site Settings</a></li>
				
			</ul>
		<?php }?>
			
		</div>
	
		<div id="contentArea"><?php }} ?>